package cn.detu.ln.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("teacher")
public class Teacher {
    // 主键自增策略
    @TableId(value = "tea_id",type = IdType.AUTO)
    // id
    private Integer teaId;
    private String teaName;
    private String teaSex;
    private String teaPhone;
    private String teaAcademy;
    private String teaTitle;
    private String teaPwd;
    // 是否删除
    @TableLogic // 逻辑删除位
    private Integer isDelete;
}
